
body {
  background-color: rgb(90, 90, 90);
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px;
}

.loader {
  width: 100px;
  height: 100px;
  border: 4px solid #fff;
  border-radius: 50%;
  position: relative;
}


.loader::before,
.loader::after {
  content: '';
  display: inline-block;
  position: absolute;
  height: 6px;
  background-color: #fff;
  border-radius: 2px;
  left: 50px;
  top: 50px;
  transform-origin: 3px 3px;
}

@keyframes time {
  0% {transform: rotate(-90deg)}
  100% {transform: rotate(270deg)}
}
/* 时针 */
.loader::before {
  width: 30px;
  transform: rotate(-90deg);
  animation: time 12s linear infinite;
}
/* 分针 */
.loader::after {
  width: 45px;
  transform: rotate(-90deg);
  animation: time 2s linear infinite;
}
